﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using D2DEngine.Scene;
using Microsoft.Xna.Framework.Graphics;

namespace D2DEngine
{
    public class D2DSpriteComponent : D2DGraphicsComponent
    {        
        /// <summary>
        /// D2DSpriteComponent default constructor
        /// </summary>
        public D2DSpriteComponent() : base()
        {
        }

        /// <summary>
        /// Creates a sprite
        /// </summary>
        /// <param name="texture">The texture of the sprite</param>
        public D2DSpriteComponent(Texture2D texture) : base(texture)
        {
        }

        /// <summary>
        /// Creates a sprite
        /// </summary>
        /// <param name="texture">The texture of the sprite</param>
        /// <param name="scale">The size of the sprite</param>
        /// <param name="color">The color of the sprite</param>
        public D2DSpriteComponent(Texture2D texture, float scale, Color color)
            : base(texture, scale, color)
        {    
        }       

  

        
    }
}
